@(status: models.spider.actor.Status.Details)
@import helper.twitterBootstrap._
@import helper._

@main("Service", "") {

<h1>Status</h1>	  	

@if(status == null){
	<div>Active Threads : 0</div>
}else{
	<div>Active Threads : @status.getThreads()</div>
	<table class="table table-striped">
		<tbody>
		<tr><th>Date</th><th>Connected</th><th>Parsed</th><th>Total</th><th>Url</th></tr>
	
		@for(e <- status.getEvents()){ 
			<tr><td>@e.getDate()</td><td>@e.getConnected()</td><td>@e.getParsed()</td><td>@e.getTotal()</td><td>@e.getUrl()</td></tr>
		}
		</tbody>
	</table>
}
}